<style>
.page-goods-detail .seckill-container .seckill-list2 .fui-list-inner .text.timer span {
    background: #FF4444;
	font-weight:bold;
	font-size:0.7rem;
}
.fui-goods-item .detail .price .text {
    color: #FF4444;
}
.fee-tag-zi {
    background: linear-gradient(to right,rgba(255,68,68,1),rgba(255,162,162,1));
    color: #fff;
    width: auto;
    font-weight: 400;
    font-size: 0.6rem;
}
.fui-cellone .fui-cellone-info .avatar{
	width:1.6rem;
	height:1.6rem;
	border:1px solid #efefef;
	border-radius: 50%;
}
</style>
<div style="padding:0 0.5rem">
	<div class="page-goods-detail fui-goods-group block radius" style="margin-top:0">
            <div ng-repeat="item in pagedata.list" ng-click="access_json('jy_manghe/game//id='+item.id)" class="fui-goods-item content-group" style="background:#fff;width:100%;padding:0">
				<div class="image" style="position: relative;height:8rem;padding-bottom:0;background: url({{tomedia(item.sendimage) ||'../addons/jy_manghe/resource/images/nopic.png'}}) no-repeat 50%;background-size: cover;">
					<div class="title" style="font-size:0.65rem">{{item.desc || '暂时没有活动描述'}}</div>
				</div>
				<div ng-class="{'seckill-container':1,'notstart':!item.rest_time}" style="background:#e8fcf8">
					<div class="fui-list seckill-list1" style="background:#FF4444;width:70%">
						<div class="fui-list-inner">
							<span class="text bold">最小参与<span style="font-size:1.5rem">{{item.pluginset.he_minjifen || 0}}</span>个积分</span>
						</div>
					</div>
					<div ng-if="item.rest_time" class="fui-list seckill-list2" style="background:#e8fcf8;width:5rem">
						<div class="fui-list-inner">
							<div class="text " style="color:red">距开奖还有</div>
							<div class="text timer" style="color:red" ng-init="tool.time_down(pagedata.list[$index].rest_time)">
								<span class="time-hour">{{pagedata.list[$index].rest_time.hour}}</span>&nbsp;:&nbsp;<span class="time-min">{{pagedata.list[$index].rest_time.minute}}</span>&nbsp;:&nbsp;<span class="time-sec">{{pagedata.list[$index].rest_time.second}}</span>
							</div>
							<div class="gray c" style="font-size: 0.6rem">每{{item.pluginset.he_i||'无'}}分钟一轮</div>
						</div>
					</div>
					<div ng-if="!item.rest_time" class="fui-list seckill-list2" style="background:#999">
						<div class="fui-list-inner">
							<div class="text" style="color:#666">{{item.statustitle}}</div>
						</div>
					</div>
				</div>
				<div class="detail" style="padding:0.3rem">
						<style>
							.fui-icon-group .fui-icon-col-sm.border {
								border: 1px solid #FF4444;
							}
							.fui-cellone-icon{color:#FF4444;padding-right:0.5rem;line-height:1.5}
							.fui-icon-group .fui-icon-col-sm .icon{font-size:1.5rem;line-height:1.5}
						</style>
						<div class="fui-icon-group new noborder col-2" style="background:#fff;margin-bottom:0.5rem">
							<div class="fui-icon-col-sm border" style="margin-top:0">
								<div class="fui-cellone" style="padding:0">
									<div class="fui-cellone-icon r" style="width:40%"><i class="icon icon-wodequanzi"></i></div>
									<div class="fui-cellone-text l">
										<div class="title bold">{{item.pluginset.he_minjifen || 0}}</div>
										<div class="gray" style="font-size:0.7rem">最小投入</div>
									</div>
								</div>
							</div>
							<div class="fui-icon-col-sm border" style="margin-top:0">
								<div class="fui-cellone" style="padding:0">
									<div class="fui-cellone-icon r" style="width:40%"><i class="icon icon-haoping"></i></div>
									<div class="fui-cellone-text l">
										<div class="title bold">*** ***</div>
										<div class="gray" style="font-size:0.7rem">已参与数</div>
									</div>
								</div>
							</div>
							<div class="fui-icon-col-sm border" style="margin-top:0">
								<div class="fui-cellone" style="padding:0">
									<div class="fui-cellone-icon r" style="width:40%"><i class="icon icon-quanzi"></i></div>
									<div class="fui-cellone-text l">
										<div ng-if="pagedata.pluginset.showtoujinum==1" class="title bold">{{item.isfee || 0}}</div>
										<div ng-if="pagedata.pluginset.showtoujinum!=1" class="title bold">******</div>
										<div class="gray" style="font-size:0.7rem">总参与积分</div>
									</div>
								</div>
							</div>
							<div class="fui-icon-col-sm border" style="margin-top:0">
								<div class="fui-cellone" style="padding:0">
									<div class="fui-cellone-icon r" style="width:40%"><i class="icon icon-box"></i></div>
									<div class="fui-cellone-text l">
										<div class="title bold">{{item.reward.length}}个</div>
										<div class="gray" style="font-size:0.7rem">盲盒个数</div>
									</div>
								</div>
							</div>
						</div>
					<div class="fui-cellone" style="padding:0.3rem 0">
						<div class="fui-cellone-info">
						<div ng-if="item.members.length>0">
							<img ng-repeat="m in item.members" class="avatar" style="margin-right:-0.5rem" ng-src="{{tomedia(m.avatar) || '../core/resource/images/nopic.jpg'}}">
							<img ng-if="item.members.length>5" class="avatar" style="margin-right:-0.5rem" src="../addons/jy_weishop/resource/images/avatar-more.jpg">
							<span class="text" style="margin-left:1rem;color: #999;">等参与了活动</span>
						</div>
						</div>
						<div class="fui-cellone-remark noremark" style="margin-right:0">
							<span ng-if="item.status==1"  class="jylabel jylabel-success active" style="border: 1px solid #FF4444;background:#FF4444;padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">马上参与</span>
							<span ng-if="item.status!=1" class="jylabel jylabel-default active" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">查看详情</span>
						</div>
					</div>
				</div>
			</div>
	</div>
	<div class="content-empty" ng-if="!pagedata.list || pagedata.list.length<1" style="margin-top:2rem">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><br/><p style="color: #999;font-size: .75rem">暂无相关活动！</p>
	</div>
</div>
<script>
scope.tool.get_list('jy_manghe/index/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_manghe/index/getlist/');
}
</script>
